package com.lyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyun.pojo.Settings;

public interface SettingService extends IService<Settings> {

    Settings getByPhone(String phone);

    boolean updateQuestions(Settings settings);

    boolean changeSettings(Settings settings);

    boolean saveSettings(Settings settings);

    String getStrangerQuestionsById(Long uid);

    /**
     * 查询用户问题
     * @param userId
     * @return
     */
    String selectQuestionById(Long userId);
}
